runtime.m.curg (field)

91 uses

	runtime (current package)
		cgocall.go#L214: 	if gp != gp.m.curg {
		debugcall.go#L31: 	if getg() != getg().m.curg {
		heapdump.go#L698: 	casGToWaiting(gp.m.curg, _Grunning, waitReasonDumpingHeap)
		heapdump.go#L713: 	casgstatus(gp.m.curg, _Gwaiting, _Grunning)
		malloc.go#L1280: 		if assistG.m.curg != nil {
		malloc.go#L1281: 			assistG = assistG.m.curg
		mbitmap.go#L1472: 	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
		mbitmap.go#L1475: 		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
		mgc.go#L831: 		gp := getg().m.curg
		mgc.go#L953: 	curgp := mp.curg
		mgcmark.go#L219: 			userG := getg().m.curg
		mgcmark.go#L1041: 	gp := getg().m.curg
		mgcmark.go#L1161: 	gp := getg().m.curg
		mgcwork.go#L476: 		gp := getg().m.curg
		mprof.go#L504: 	if gp.m.curg == nil || gp.m.curg == gp {
		mprof.go#L507: 		nstk = gcallers(gp.m.curg, skip, stk[:])
		mprof.go#L1235: 	if gp.m.curg == nil || gp == gp.m.curg {
		mprof.go#L1243: 		goroutineheader(gp.m.curg)
		mprof.go#L1244: 		traceback(^uintptr(0), ^uintptr(0), 0, gp.m.curg)
		panic.go#L273: 	if gp.m.curg != gp {
		panic.go#L310: 	if gp.m.curg != gp {
		panic.go#L836: 	if gp.m.curg != gp {
		panic.go#L1303: 		if gp != gp.m.curg {
		panic.go#L1346: 	if gp != mp.curg {
		preempt.go#L105: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L368: 	if mp.curg != gp {
		proc.go#L386: 	gp := mp.curg
		proc.go#L2075: 	casgstatus(mp.curg, _Gdead, _Gsyscall)
		proc.go#L2128: 	mp.curg = gp
		proc.go#L2190: 	casgstatus(mp.curg, _Gsyscall, _Gdead)
		proc.go#L2191: 	mp.curg.preemptStop = false
		proc.go#L2859: 	mp.curg = gp
		proc.go#L3645: 	setMNoWB(&gp.m.curg.m, nil)
		proc.go#L3646: 	setGNoWB(&gp.m.curg, nil)
		proc.go#L4367: 	gp := getg().m.curg
		proc.go#L4388: 	gp := getg().m.curg
		proc.go#L4541: 		if mp.curg != nil {
		proc.go#L4542: 			newg.labels = mp.curg.labels
		proc.go#L4941: 	if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
		proc.go#L4957: 		u.initAt(mp.curg.syscallpc, mp.curg.syscallsp, 0, mp.curg, unwindSilentErrors)
		proc.go#L4994: 		if gp != nil && gp.m != nil && gp.m.curg != nil {
		proc.go#L4995: 			tagPtr = &gp.m.curg.labels
		proc.go#L5002: 			if gp.m.curg != nil {
		proc.go#L5003: 				gprof = gp.m.curg
		proc.go#L5774: 	gp := mp.curg
		proc.go#L5852: 		if mp.curg != nil {
		proc.go#L5853: 			print(mp.curg.goid)
		runtime2.go#L546: 	curg          *g       // current running goroutine
		sema.go#L116: 	if gp != gp.m.curg {
		signal_unix.go#L676: 	if !c.sigFromUser() && flags&_SigPanic != 0 && (gp.throwsplit || gp != mp.curg) {
		signal_unix.go#L743: 		if crashing > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		signal_unix.go#L745: 			goroutineheader(mp.curg)
		signal_unix.go#L746: 			traceback(^uintptr(0), ^uintptr(0), 0, mp.curg)
		signal_unix.go#L791: 	if mp.incgo && gp == mp.g0 && mp.curg != nil {
		signal_unix.go#L795: 		gp = mp.curg
		signal_unix.go#L1142: 	if gp != nil && gp.m != nil && gp.m.curg != nil && !gp.m.isExtraInC && !gp.m.incgo {
		stack.go#L972: 	if thisg.m.morebuf.g.ptr() != thisg.m.curg {
		stack.go#L973: 		print("runtime: newstack called from g=", hex(thisg.m.morebuf.g), "\n"+"\tm=", thisg.m, " m->curg=", thisg.m.curg, " m->g0=", thisg.m.g0, " m->gsignal=", thisg.m.gsignal, "\n")
		stack.go#L979: 	gp := thisg.m.curg
		stack.go#L981: 	if thisg.m.curg.throwsplit {
		stack.go#L1172: 		if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
		stack.go#L1183: 	if gp == getg().m.curg && gp.m.libcallsp != 0 {
		trace.go#L569: 		getg().racectx = getg().m.curg.racectx
		trace.go#L766: 		if getg() == mp.curg {
		trace.go#L964: 	curgp := mp.curg
		trace.go#L1583: 	gp := getg().m.curg
		trace.go#L1646: 	getg().m.curg.trace.tracedSyscallEnter = true
		trace.go#L1651: 	gp := getg().m.curg
		traceback.go#L136: 	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
		traceback.go#L290: 		if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
		traceback.go#L298: 				gp = gp.m.curg
		traceback.go#L321: 				gp = gp.m.curg
		traceback.go#L1024: 				if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
		traceback.go#L1125: 	if mp.throwing >= throwTypeRuntime && gp != nil && (gp == mp.curg || gp == mp.caughtsig.ptr()) {
		traceback.go#L1226: 	curgp := getg().m.curg
		traceback.go#L1606: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		traceback.go#L1626: 	if panicking.Load() > 0 || getg().m.curg != getg() {